<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<div class="adminMenuDiv">
	<div style="width:180px; margin:auto;">
		管理员:${sessionAdmin.name}
		<A href="javascript:clickLogout()">[注销]</A>
	</div>
	<div style="width:180px; margin:auto;">
		<A href="/admin/index">首页</A>
	</div>
	<div style="width:180px; margin:auto;">
		<A href="/admin/memoryPond">管理内存</A>
	</div>
	<div style="width:180px; margin:auto;">
		<A href="/admin/flipPanelList">翻盖面板列表</A>
	</div>
	<div style="width:180px; margin:auto;">
		<A href="/admin/typeList">类型列表</A>
	</div>
	<div style="width:180px; margin:auto;">
		<A href="/admin/areaSortList">地区分类列表</A>
	</div>
	<div style="width:180px; margin:auto;">
		<A href="/admin/areaList">地区列表</A>
	</div>
	<div style="width:180px; margin:auto;">
		<A href="/admin/directorList">导演列表</A>
	</div>
	<div style="width:180px; margin:auto;">
		<A href="/admin/actorList">演员列表</A>
	</div>
	<div style="width:180px; margin:auto;">
		<A href="/admin/movieList">电影列表</A>
	</div>
	<div style="width:180px; margin:auto;">
		<A href="/admin/addMovie">快速添加</A>
	</div>
</div>
<script type="text/javascript">
	<%--点击注销--%>
	function clickLogout(){
		tool.ajax({
			requestUrl:"/admin/ajax?action=logout",
			overtimeUrl:"/admin/login",
			dataSet:{},
			success:function(msg){
				if(msg.stateCode == "success"){
					<%--刷新页面--%>
					window.location.reload();
				}
			}
		});
	}
</script>
